package com.kaifamiao.demo.d0727;

// Child 类是 AccessTest 类的子类
public class Child extends AccessTest{

    public void test(){
//        privateNum = 1; private error
        packageAccessNum = 2;
        protectedNum = 3;
        publicNum = 4;
    }
}
